Skip to main content
POST
Upsert a privacy consent

Body

application/json

Schema for updating privacy consent.

The channel where the privacy consent was given.

Example:

"web_login"

email
string
required

The email of the user.

is_agreed
boolean
required

Whether the user agreed to the privacy policy.

policy_version
string
required

The version of privacy consent.

Example:

"1.0.0"

user_id
string<uuid>
required

The ID of the user.

The date of the privacy consent.

created_at
string<date-time> | null

The date and time the entity was created.

updated_at
string<date-time> | null

The date and time the entity was last updated.

Response

Successful Response

Schema for privacy consent.

The channel where the privacy consent was given.

Example:

"web_login"

is_agreed
boolean
required

Whether the user agreed to the privacy policy.

policy_version
string
required

The version of privacy consent.

Example:

"1.0.0"

user_id
string<uuid>
required

The ID of the user.

The date of the privacy consent.

created_at
string<date-time> | null

The date and time the entity was created.

updated_at
string<date-time> | null

The date and time the entity was last updated.